/**
 * Copyright (c) 2018 软唐 All rights reserved.
 *
 * https://www.softtown.cn
 *
 * 版权所有，侵权必究！
 */

package com.softtown.modules.security.dao;

import com.softtown.common.dao.BaseDao;
import com.softtown.modules.security.entity.SysSmsContentEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

/**
 * 短信验证码
 * 
 * @author Ding Ya Yong
 */
@Mapper
@Component(value = "SysSmsContentDao")
public interface SysSmsContentDao extends BaseDao<SysSmsContentEntity> {

    SysSmsContentEntity getByMobile(String mobile);

    Boolean saveSms(SysSmsContentEntity sysSmsContentEntity);

    Boolean updateSmsCode(SysSmsContentEntity sysSmsContentEntity);
}
